<?php
namespace Hive\Vacation;
/**
 * Country Holiday
 *
 * Maintain the list of Holidays by country
 *
 * @author Xavier VILAIN
 * @package Hive\Vacation
 * @license
 * @property string $country Country iso key
 * @property int 	$year Year of the holiday
 * @property int 	$holidayid Id of the holiday
 * @property int 	$month Month holiday
 * @property int 	$day Day number
 * @property int 	$week Week number for floating day
 * @property int 	$weekday Day in the week (0 for sunday and 6 for saturday) only
 * use for floating days
 * @property bool 	$fixed If true the day is a fixed day in the calendar else
 * it's a floating day
 * @property bool 	$enable If true the it will be used
 * @property bool 	$standard If true it's a standard calendard holiday and
 * not a company specific one
 */
class Holiday extends \Fox\Object\Versioned
{

}
\Fox\Dao::infos(
	Holiday::className(),
	new \Fox\Object\Info('vacation_holidays', \Fox\Databases::DB_APP)
)->addAutoIncrementField("holidayid");